package serviceset2

class Goods {

    String name
    String brand
    BigDecimal price

    static constraints = {
        name(blank: false, unique: true)
        brand(blank: false)
        price(nullable: false, min: 0.0)
    }
}
